package me.work.pay.jsyl.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import me.work.pay.jsyl.di.module.WifiModule;
import me.work.pay.jsyl.mvp.contract.WifiContract;

import com.jess.arms.di.scope.ActivityScope;

import me.work.pay.jsyl.mvp.ui.activity.WifiActivity;
import me.work.pay.jsyl.mvp.ui.activity.WifiLand2Activity;
import me.work.pay.jsyl.mvp.ui.activity.WifiLandActivity;


/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 09/23/2020 16:47
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
 * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
 * ================================================
 */
@ActivityScope
@Component(modules = WifiModule.class, dependencies = AppComponent.class)
public interface WifiComponent {
    void inject(WifiActivity activity);

    void inject(WifiLandActivity activity);
    void inject(WifiLand2Activity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        WifiComponent.Builder view(WifiContract.View view);

        WifiComponent.Builder appComponent(AppComponent appComponent);

        WifiComponent build();
    }
}